//
//  HighlightArcView.m
//  HypERLtrace
//
//  Created by Vlad on 24/11/08.
//  Copyright 2008 __MyCompanyName__. All rights reserved.
//

#import "HighlightArcView.h"


@implementation HighlightArcView

- (id)initWithFrame:(NSRect)frame {
    self = [super initWithFrame:frame];
    if (self) {
		highl = FALSE;
		processes = nil;
		[self setBounds:[super bounds]];
		[self setFrame:[super frame]];
		[self setNeedsDisplay:YES];
		NSLog(@"init subview");

        // Initialization code here.
    }
    return self;
}

- (void)drawRect:(NSRect)rect {
	NSLog(@"drawing subview");
    // Drawing code here.
	NSBezierPath *sq = [[NSBezierPath alloc] init];
	int top = 170-0;
	int bottom = 160-0;
	[sq setLineWidth:1.0];
	[sq moveToPoint:NSMakePoint(10, bottom)];
	[sq lineToPoint:NSMakePoint(10+9, bottom)];
	[sq lineToPoint:NSMakePoint(10+9, top)];
	[sq lineToPoint:NSMakePoint(10, top)];
	[sq closePath];
	[[NSColor redColor] set];
	[sq fill];
}

@end
